#include <stdio.h>
#include <wiringPi.h>
#include <stdlib.h>



#define EA  1
#define IA1 4
#define IA2 5

int main(int argc, char const *argv[])
{
	if(wiringPiSetup()){
		
		perror("raspberry pi init failed!");
		return -1;
	}
	else{

		pinMode(EA,OUTPUT);
		pinMode(IA1,OUTPUT);
		pinMode(IA2,OUTPUT);
	
		while(1){
			digitalWrite(IA1,HIGH);
			digitalWrite(IA2,LOW);
			digitalWrite(EA,LOW);
		}
		
	}
}